package com.lx.service;

import com.lx.entity.BankCard;

import java.util.List;

/**
 * @title: TradeService
 * @projectName bankManage
 * @description: TODO
 * @author: yuanChu
 * @date: 2022/5/6  8:33
 */
public interface TradeService {

    //存款
    Boolean saveMoney(Double money, String cardId);
    //取款
    Boolean takeMoney(Double money, String cardId);
    //根据手机号查询用户名下的银行卡信息
    List<BankCard> findBankCardByPhone(String phone);
}
